package com.shuwen.gcdj.mapper.mysql;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shuwen.gcdj.bean.common.response.StringStringKvItemResp;
import com.shuwen.gcdj.entity.PowerApiAuthDept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 权限码Api关系关联授权部门id(域控)(t_user_power_api_auth_dept)数据Mapper
 *
 * @author localhost_ubuntu
 * @since 2021-11-24 21:56:05
 * @description created by mybaits plus code generator
*/
@Mapper
public interface PowerApiAuthDeptMapper extends BaseMapper<PowerApiAuthDept> {
    /**
     * 根据权限码与Api关系获取授权部门id和名称
     *
     * @param powerApiId String
     * @return List<StringStringKvItemResp>
     */
    List<StringStringKvItemResp> getAuthDeptByPowerApiId(@Param("powerApiId") String powerApiId);
}
